package top.lilele.adminSystem.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 修改密码前端入参
 *
 * @author lilele
 */
@Data
public class ChangePasswordDto implements Serializable {
    @NotEmpty(message = "原始密码不能为空")
    String originPassword;

    @NotEmpty(message = "新密码不能为空")
    String finalPassword;

    @NotEmpty(message = "确认密码不能为空")
    String surePassword;
}
